<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('定时任务详细')" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">

	<form class="form-horizontal m-t" id="jobLogForm">

	    <div class="form-group">
			<label class="col-sm-3 control-label">编号：</label>
			<div class="form-control-static" th:text="${zl.zlId}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">鸡舍号：</label>
			<div class="form-control-static" th:text="${zl.roomNum}+'号鸡舍'">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">发病次数：</label>
			<div class="form-control-static" th:text="${zl.illMuns}" onkeyup=" value=value.replace(/^(0+)|[^\d]+/g,'')" type="number">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">症状：</label>
			<div class="form-control-static" th:text="${zl.symptom}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">状态：</label>
			<div class="form-control-static" th:text="${zl.zlStatus == '3' ? '已确认' : '已生成订单'}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">推送人：</label>
			<div class="form-control-static" th:text="${zl.reportUser}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">诊疗人员：</label>
			<div class="form-control-static" th:text="${zl.zlUser}">
			</div>
		</div>

		<div class="form-group" th:each="drugs:${zlDrugs}">
			<label class="col-sm-3 control-label" >用药名称：</label>
			<div class="form-control-static" th:text="${drugs.drugName}">
			</div>
		</div>
		<!--
		<div class="form-group" th:each="drugs:${zlDrugs}">
			<label class="col-sm-3 control-label">用药量：</label>
			<div class="form-control-static" th:text="${drugs.drugAmount}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label" th:each="drugs:${zlDrugs}">单位：</label>
			<div class="form-control-static" th:text="${drugs.unit}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label" th:each="drugs:${zlDrugs}">用药方式：</label>
			&lt;!&ndash;/*@thymesVar id="zl" type=""*/&ndash;&gt;
			<div class="form-control-static" th:text="${drugs.drugMethod}">
			</div>
		</div>-->
		<div class="form-group">
			<label class="col-sm-3 control-label">诊疗结果：</label>
			<div class="form-control-static" th:text="${zl.zlResult}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">请求时间：</label>
			<div class="form-control-static" data-format="yyyy-MM-dd HH:mm:ss" required name="zlTime"
				 th:text="*{#dates.format(zl.zlTime, 'yyyy-MM-dd hh:mm:ss')}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">创建者：</label>
			<div class="form-control-static" th:text="${zl.createBy}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">创建时间：</label>

			<div class="form-control-static" data-format="yyyy-MM-dd HH:mm:ss"
				 th:text="*{#dates.format(zl.createTime, 'yyyy-MM-dd hh:mm:ss')}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">备注：</label>
			<div class="form-control-static" th:text="${zl.remark}">
			</div>
		</div>
	</form>
	
	<!--<form class="form-horizontal m-t" id="jobForm" th:if="${name == 'job'}">
	    <div class="form-group">
			<label class="col-sm-3 control-label">任务序号：</label>
			<div class="form-control-static" th:text="${job.jobId}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">任务名称：</label>
			<div class="form-control-static" th:text="${job.jobName}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">任务分组：</label>
			<div class="form-control-static" th:text="${job.jobGroup}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">调用目标字符串：</label>
			<div class="form-control-static" th:text="${job.invokeTarget}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">执行表达式：</label>
			<div class="form-control-static" th:text="${job.cronExpression}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">下次执行时间：</label>
			<div class="form-control-static" th:text="${#dates.format(job.nextValidTime, 'yyyy-MM-dd HH:mm:ss')}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">执行策略：</label>
			<div class="form-control-static" th:if="${job.misfirePolicy == '0'}">默认策略</div>
			<div class="form-control-static" th:if="${job.misfirePolicy == '1'}">立即执行</div>
			<div class="form-control-static" th:if="${job.misfirePolicy == '2'}">执行一次</div>
			<div class="form-control-static" th:if="${job.misfirePolicy == '3'}">放弃执行</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">并发执行：</label>
			<div class="form-control-static" th:class="${job.concurrent == '0' ? 'label label-primary' : 'label label-danger'}" th:text="${job.concurrent == '0' ? '允许' : '禁止'}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">执行状态：</label>
			<div class="form-control-static" th:class="${job.status == '0' ? 'label label-primary' : 'label label-danger'}" th:text="${job.status == '0' ? '正常' : '暂停'}">
			</div>
		</div>
	</form>
	-->
    </div>
</body>
</html>